package view.panel.prompt.msg
{
	import core.Control;

	public class ItemShortCutMsg implements IPromptMsg
	{
		private var _content:String;
		private var _control:Control;
		
		public function ItemShortCutMsg()
		{
			_content = "你的该道具持有量为0，点击确定进入道具商城购买。";
		}
		
		public function set content(v:String):void
		{
			_content = v;	
		}
		
		public function get content():String
		{
			return _content;
		}
		
		public function onYes():void
		{
			Control.getInstance().itemPanelControl.onGotoShop();	
		}
		
		public function onNo():void
		{
			
		}
	}
}